<template>
  <div class="login-container">
    <div class="left-section">
      <img
        src="../../assets/images/login-img.png" 
        alt="浮动图" 
        class="floating-img"
      />
    </div>
    <div class="right-section">
      <div class="form-wrapper">
        <div class="form-header">
          <RouterLink to="/login">登录</RouterLink>|
          <RouterLink to="/login/register">注册</RouterLink>
        </div>
        <RouterView /> 
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router';
</script>

<style scoped>
@import url('./LoginPage.css');
</style>